package com.bbs.factory;

import org.springframework.context.ApplicationEvent;

//事件工厂接口
public interface EventFactory<T> {
    //创建事件抽象方法
    ApplicationEvent createEvent(Object source,T entity);
}
